package com.gccloud.design.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ma.xiulan
 * @date 2021年04月12日 10:10
 */

@Data
@ApiModel(value = "业务对接页面模板实体")
@TableName("opt_form_temp")
public class FormTempEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键Id")
    private int formId;

    @ApiModelProperty(value = "流程业务类型ID")
    private Integer businessTypeId;

    @ApiModelProperty(value = "表单来源系统主键ID")
    private Integer sourceSysId;

    @ApiModelProperty(value = "表单名称")
    private String formName;

    @ApiModelProperty(value = "表单类型，通用表单COMMON、专用表单SPECIAL")
    private String formType;

    @ApiModelProperty(value = "表单URL")
    private String formUrl;

    @ApiModelProperty(value = "表单描述")
    private String formDes;

    @ApiModelProperty(value = "删除标识")
    private Integer delFlag;

    @ApiModelProperty(value = "创建人")
    private String createUserId;

    @ApiModelProperty(value = "创建人姓名")
    private String createUserName;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "分库字段")
    private Integer shardingId;

    @ApiModelProperty(value = "流程平台页面模板主键")
    private String bwpId;
}
